The Dreamweaver JavaScript API > Layout view functions > dom.isColumnAutostretch()

 

dom.isColumnAutostretch()

Availability

Dreamweaver 4.0

Description

Determines whether or not a column is set to expand or contract automatically depending on the document size. This function fails if the current selection is not a table.

Arguments

colNum

colNum is the column to be sized automatically or fixed width.

Returns

Returns true if the column at the given index in the currently selected table is set to "autostretch", false otherwise.